<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>游戏类型分析</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts-wordcloud.min.js"></script>

</head>
<body>
    {% include "base.html" %}
    <div id="97f00c8f8ab54444bf2f0d644cf1f55a" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_97f00c8f8ab54444bf2f0d644cf1f55a = echarts.init(
            document.getElementById('97f00c8f8ab54444bf2f0d644cf1f55a'), 'white', {renderer: 'canvas'});
        var option_97f00c8f8ab54444bf2f0d644cf1f55a = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "wordCloud",
            "name": "\u6e38\u620f\u5206\u7c7b\u5206\u6790",
            "shape": "circle",
            "rotationRange": [
                -90,
                90
            ],
            "rotationStep": 45,
            "girdSize": 20,
            "sizeRange": [
                20,
                99
            ],
            "data": [
                {
                    "name": "Action",
                    "value": 3316,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(68,106,98)"
                        }
                    }
                },
                {
                    "name": "Sports",
                    "value": 2346,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(91,13,132)"
                        }
                    }
                },
                {
                    "name": "Misc",
                    "value": 1739,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(54,154,12)"
                        }
                    }
                },
                {
                    "name": "Role-Playing",
                    "value": 1488,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(9,63,22)"
                        }
                    }
                },
                {
                    "name": "Shooter",
                    "value": 1310,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(64,92,73)"
                        }
                    }
                },
                {
                    "name": "Adventure",
                    "value": 1286,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(28,159,109)"
                        }
                    }
                },
                {
                    "name": "Racing",
                    "value": 1249,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(74,62,28)"
                        }
                    }
                },
                {
                    "name": "Platform",
                    "value": 886,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(131,53,53)"
                        }
                    }
                },
                {
                    "name": "Simulation",
                    "value": 887,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(106,158,47)"
                        }
                    }
                },
                {
                    "name": "Fighting",
                    "value": 848,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(52,72,100)"
                        }
                    }
                },
                {
                    "name": "Strategy",
                    "value": 681,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(1,60,46)"
                        }
                    }
                },
                {
                    "name": "Puzzle",
                    "value": 582,
                    "textStyle": {
                        "normal": {
                            "color": "rgb(140,45,35)"
                        }
                    }
                }
            ],
            "drawOutOfBound": false,
            "textStyle": {
                "emphasis": {}
            }
        }
    ],
    "legend": [
        {
            "data": [],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "\u6e38\u620f\u5206\u7c7b\u5206\u6790",
            "padding": 5,
            "itemGap": 10,
            "textStyle": {
                "fontSize": 30
            }
        }
    ]
};
        chart_97f00c8f8ab54444bf2f0d644cf1f55a.setOption(option_97f00c8f8ab54444bf2f0d644cf1f55a);
    </script>
</body>
</html>
